home *** CD-ROM | disk | FTP | other *** search
- #ifndef GLOBAL_H
- #define GLOBAL_H
-
- #include <stdio.h>
- #include <string.h>
- #include <stdlib.h>
-
- #ifdef __STDC__
- # define P_(x) x
- #else
- # define P_(x) ()
- #endif
-
- typedef struct hash {
- char *htext;
- char *mapto;
- int htype;
- struct hash *next;
- } Hash;
-
- struct numstr {
- long num;
- char *str;
- };
-
- extern FILE *yyin, *yyout;
- extern unsigned long line_num;
-
- extern void mkhash P_((char *, char *, int));
- extern int lookup P_((char *, char *));
- extern int yylex P_((void));
- extern void yyerror P_((const char *, ...));
- extern void init_hash P_((void)), clear_hash P_((void));
-
- #endif /* GLOBAL_H */
-